﻿<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="shortcut icon" href="~/favicon.png" />
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/bootstrap", "~/Content/bootstrap/responsive", "~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @RenderSection("styles", required:=False)
    @If Request.IsAuthenticated Then
        @<style>
             body {
                 padding-top: 40px;
             }
         </style>
    End If
</head>
<body>
    @Html.Partial("_AdminPanel")
    <header class="page-header" role="banner">
        <div class="container">
            <div class="row">
                <div class="span6">
                    @Html.HomeLink(ViewBag.Brand, New With {.class = "site-title"})
                </div>
                <div class="span6">
                    <div class="lead text-right">@ViewBag.Phone</div>
                </div>
            </div>

            <nav role="navigation">
                @Html.Navigation(New With {.class = "nav nav-pills"})
            </nav>
        </div>
    </header>

    <div class="container" role="main">
        @RenderBody()
    </div>

    <hr />

    <footer role="contentinfo">
        <div class="container">
            <p>&copy; @ViewBag.Author, @Date.Now.Year</p>
        </div>
    </footer>

    @Scripts.Render("~/bundles/jquery", "~/bundles/bootstrap")
    @RenderSection("scripts", required:=False)
</body>
</html>
